package com.codi.bus.core.domain;

import com.codi.base.domain.BaseDomain;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
public class UserBank extends BaseDomain {

    private Long userBankId;

    private Long userId;

    private String bankAccountName;

    private String bankName;

    private String bankCode;

    private String userBankNo;

    private String userBankOwner;

    private String userBankMobile;

    private String bankBranchName;

    private Date createDate;

    private String createUserId;

    private Date lastUpdatedDate;

    private String lastUpdatedUserId;

    private Boolean isValid;

    //银行卡状态 1 在用 2 注销
    private String bankState;

    // 恒生交易账号, 不同银行卡对应不同的交易账号
    private String externalTradeAccount;

    // 托收签约号
    // 调用易宝接口进行实名验证后会返回签约协议号-DUI1
    private String externalProtocolNo;

    // 资金方式，目前有柜台和易宝2种方式
    private String capitalMode;

    // shi.pengyan 2017-9-1 09:46:36
    private String bankAddress;
    private String bankAddressCode;

    // spy 2017-11-13 09:40:51
    private String branchbank; //银行联号
}
